package com.game.backend.mapper;


import com.game.backend.model.Record;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

@Mapper
public interface RecordMapper {
    int add(@Param("record") Record record);

    List<Record> getByPage(@Param("page")Integer page,@Param("size") Integer size);

    Integer getCount();
}
